home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
c_news
/
15
/
f_prot.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-04-03
|
2KB
|
41 lines
/* -- File: line.h
--
-- Author: Anthony Lander
-- Date: January 10, 1989.
--
-- Description:
-- Function prototypes for LINE.C. These let us use strong type
-- checking when we compile -- very important for speedy program
-- developement!
/* ------------------------------------------------------------------------ */
/* Functions that RETURN lines of text */
/* ------------------------------------------------------------------------ */
struct _line *get_first_line(void);
struct _line *get_last_line(void);
struct _line *get_new_line(void);
/* ------------------------------------------------------------------------ */
/* Functions that ADD lines of text */
/* ------------------------------------------------------------------------ */
void insert_after_line(struct _line *, struct _line *);
void insert_before_line(struct _line *, struct _line *);
/* ------------------------------------------------------------------------ */
/* Functions that DELETE lines of text */
/* ------------------------------------------------------------------------ */
void delete_line(struct _line *);
void delete_all_lines(void);
/* ------------------------------------------------------------------------ */
/* Functions that MOVE lines of text */
/* ------------------------------------------------------------------------ */
void move_before_line(struct _line *, struct _line *);
void move_after_line(struct _line *, struct _line *);